package com.jsmws.temp.hello;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 测试文件
 * Created by Webster on 2016-4-28.
 */
@Component
public class Hello {

    @Resource
    HelloMan helloMan;

    public String sayHello(){
        helloMan.setName("Webster");
        return "Hello "+ helloMan.getName() + "!";
    }
}
